package org.mozhu.mboot.core.config.database;

import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class DatabaseConnectionProperties {

    public final static String DATASOURCE_PREFIX = "spring.datasource.";
    public final static String DRIVER_CLASS_NAME = DATASOURCE_PREFIX + "driver-class-name";
    public final static String URL = DATASOURCE_PREFIX + "url";
    public final static String USERNAME = DATASOURCE_PREFIX + "username";
    public final static String PASSWORD = DATASOURCE_PREFIX + "password";

    private String driverClassName;
    private String url;
    private String username;
    private String password;

}
